﻿/*
=======================================================
    WireropeKeepType【在用绳维保类型】
=======================================================
*/

namespace Services
{
    public interface IWireropeKeepTypeLogic : ILogic<WireropeKeepTypeModel, WireropeKeepTypeFilterModel>
    {
        int UpdateIsDelete(bool flag, params int[] ids);
    }


    public class WireropeKeepTypeLogic : BaseLogic<WireropeKeepTypeModel, WireropeKeepTypeFilterModel, WireropeKeepType, IWireropeKeepTypeRepository, IWireropeKeepTypeMapping, IWireropeKeepTypeService>, IWireropeKeepTypeLogic
    {
        public WireropeKeepTypeLogic(ICurrentUser currentUser, IWireropeKeepTypeRepository repository, IWireropeKeepTypeMapping mapping, IWireropeKeepTypeService service)
            : base(currentUser, repository, mapping, service)
        {
        }

        #region 启用/禁用  UpdateIsDelete
        public int UpdateIsDelete(bool flag, params int[] ids)
        {
            return _repository.UpdateIsDelete(flag, ids);
        }
        #endregion
        
    }
}
